<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		*{
			margin: 0px;
			padding: 0px;
		}
		li{
			list-style: none;
		}
		.out{
			width: 1204px;
			height: 260px;
			overflow: hidden;
		}
		.out_box{
			width: 1260px;
			height: 260px;
		}
		.box{
			width: 172px;
			height: 260px;
			float: left;
			background: red url() 0 0 no-repeat;
			cursor: pointer;
		}
		.bg1{
			background: #fff url(./1.jpg) 0 0 no-repeat;
			background-position: center;
		}
		.bg2{
			background: #fff url(./2.jpg) 0 0 no-repeat;
			background-position: center;
		}
		.bg3{
			background: #fff url(./3.jpg) 0 0 no-repeat;
			background-position: center;
		}
		.bg4{
			background: #fff url(./4.jpg) 0 0 no-repeat;
			background-position: center;
		}
		.bg5{
			background: #fff url(./5.jpg) 0 0 no-repeat;
			background-position: center;
		}
		.bg6{
			background: #fff url(./6.jpg) 0 0 no-repeat;
			background-position: center;
		}
		.bg7{
			background: #fff url(./7.jpg) 0 0 no-repeat;
			background-position: center;
		}
	</style>
	<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
	<script>
		
		$(function(){

			$('.box').hover(function() {
				$(this).stop().animate({'width': "400px"}, 300).siblings().stop().animate({'width': "134px"}, 300);
			}, function() {
				$('.box').stop().animate({'width': "172px"}, 300);
			});

		})
	</script>
</head>
<body>
	<div class="out">
		<ul class="out_box">
			<li class="box bg1"></li>
			<li class="box bg2"></li>
			<li class="box bg3"></li>
			<li class="box bg4"></li>
			<li class="box bg5"></li>
			<li class="box bg6"></li>
			<li class="box bg7"></li>
		</ul>
	</div>
</body>
</html>